package com.service;

import com.javabean.Product;

import java.util.List;

public interface ProductService {
    List<Product> findAll();
    List<Product> findProductName(String name);
    Product findById(int id);
    void edit(Product product);
    void add(Product product);
    void deleteById(int id);
    void deleteIds(List<Integer> ids);
}
